package edu.zjucst.spb.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author ZlunYan
 * @description
 * @create 2023-11-30
 */
@Getter
@AllArgsConstructor
public enum FlowProcessExceptionEnum {

    USER_ID_NOT_EXIST("1001", "用户Id不存在"),

    QUALIFICATIONS_FAIL("1002", "未年满18岁或非共青团员"),

    BRANCH_GROUP_NOT_EXIST("1003", "支部信息不存在"),

    TASK_NOT_EXIST("1004", "该审核任务不存在"),

    MULTIPLE_APPLICATION("1005", "重复申请入党"),
        ;

    final String code;

    final String description;
    final String prefix = "flow_process";
}
